package com.youcan.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author LiChao E-mail:what_is_javascript@163.com
 * @date:2012-8-18 上午12:07:06
 * @version :V1.0
 *
 */
public class User implements java.io.Serializable {

	// Fields
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer userId;
	private String userName;
	private String headPic;
	private Long exp;
	private Long point;
	private String pwd;
	private String mail;
	private String sex;
	private Date birthday;
	private String address;
	private Timestamp lastLoginTime;
	private Integer roleId;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Integer userId,String userName, String headPic, Long exp, Long point,
			String pwd, String mail, String sex, Date birthday, String address,
			Timestamp lastLoginTime, Integer roleId) {
		this.userId = userId;
		this.userName = userName;
		this.headPic = headPic;
		this.exp = exp;
		this.point = point;
		this.pwd = pwd;
		this.mail = mail;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.lastLoginTime = lastLoginTime;
		this.roleId = roleId;
	}

	// Property accessors
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getHeadPic() {
		return this.headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	public Long getExp() {
		return this.exp;
	}

	public void setExp(Long exp) {
		this.exp = exp;
	}

	public Long getPoint() {
		return this.point;
	}

	public void setPoint(Long point) {
		this.point = point;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Timestamp getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}